<?php
$CI  = & get_instance();
$CI->load->model('Model_news', 'model_news');
$CI->load->model('Model_data', 'model_data');
?>
<div class="full-3-col">
	<div class="left-3-col">
		<?php
			$t1 = unserialize($content['t1']);
			$left_list = $CI->model_news->browse('',$t1['group'],'','', @$t1['number'],0,'createdate','DESC');
		?>
		<h2><?= htmlspecialchars($t1['title'])?></h2>
		<div class="left-content">
			<?php foreach($left_list as $item):?>
			<div class="item">
				<a href="<?=site_url(array('c' => 'home','m' => 'news_detail', 'nav'=>7 ,'id' => $item['id']))?>"><img src="<?=userfile_img_url($item['img'])?>" alt="<?=$item['name']?>" width="120" height="80"/></a>
				<a href="<?=site_url(array('c' => 'home','m' => 'news_detail', 'nav'=>7 ,'id' => $item['id']))?>"><?=$item['name']?></a>
			</div>
			<?php endforeach;?>
		</div>
	</div>
	<div class="center-3-col" id="page_search">
		<?php $t2 = unserialize($content['t2']);?>
		<h2><?= $t2['title']?></h2>
		<div class=""><?= $t2['content']?></div>
	</div>
	<div class="right-3-col">
		<div class="right-3-col-inner">
			<?php
				$t3 = unserialize($content['t3']);
				$right_list = $CI->model_data->find_by_group($t3['group'], $t3['number'],0,'createddate','DESC');
			?>
			<h2><?= $t3['title']?></h2>
			<ul class="right-content">
				<?php foreach($right_list as $item):?>
				<li class="item">
					<a href="<?=site_url(array("c" => "home", "m"=> "downloaddata", "id"=>$item['id']))?>"><?=$item['name']?></a>
				</li>
				<?php endforeach;?>
			</ul>
		</div>
	</div>
	<div class="clearfix"></div>
</div>